﻿namespace = pbi_debug_events

pbi_debug_events.1 = {
	type = country_event
	placement = root

	title = pbi_debug_events.1.t
	desc = pbi_debug_events.1.d
  flavor = {
		random_valid = {
			desc = pbi_debug_events.1.f
			desc = pbi_debug_events.2.f
			desc = pbi_debug_events.3.f
			desc = pbi_debug_events.4.f
		}
	}
  event_image = {
		video = "gfx/event_pictures/pbi_war.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/world_fair"

	icon = "gfx/interface/icons/event_icons/event_newspaper.dds"

	duration = 3
	
	trigger = {
	}

	immediate = {
	}

	option = {
		name = pbi_debug_events.1.a 
	}
}

pbi_debug_events.2 = {
	type = country_event
	placement = root

	title = pbi_debug_events.2.t
	desc = pbi_debug_events.2.d
  flavor = pbi_debug_events.2.f

	event_image = {
		video = "gfx/event_pictures/pbi_novel.bk2"
	}
	
	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/world_fair"

	icon = "gfx/interface/icons/event_icons/event_newspaper.dds"

	duration = 3
	
	trigger = {
		any_scope_state = {
			has_building = building_pbi_publishing_industry
		}
		OR = {
			has_law = law_type:law_outlawed_dissent
			has_law = law_type:law_censorship
		}
	}

	immediate = {

	}

	option = {
		name = pbi_debug_events.2.a 
	}
}

pbi_debug_events.3 = {
	type = country_event
	placement = root

	title = pbi_debug_events.3.t
	desc = pbi_debug_events.3.d
  flavor = pbi_debug_events.3.f

	event_image = {
		video = "gfx/event_pictures/pbi_novel.bk2"
	}
	
	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/world_fair"

	icon = "gfx/interface/icons/event_icons/event_newspaper.dds"

	duration = 3
	
	trigger = {
		game_date > 1836.4.4

	}

	immediate = {

	}

	option = {
		name = pbi_debug_events.3.a 
	}
}
